Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checker: fix private symbol visibility checking #23543

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Jan 21, 2025

Copy link

Connected to Huly®: V_0.6-21971

@felipensp
Copy link
Member Author

V UI CI failures are fixed by vlang/ui#593

Need check `sum_type` and `function` also.
And `function` type try to get the correct mod name.
@kbkpbot
Copy link
Contributor

kbkpbot commented Jan 21, 2025

Sorry for directly commit....

kbkpbot and others added 4 commits January 22, 2025 07:36
fix error "vlib/x/json2/decoder2/decode_sumtype.v:50:11: error: sum_type `Sum` was declared as private to module `main`, so it can not be used inside module `x.json2.decoder2`"

Assume type define in `main` can be used as generic type in other module.
@felipensp felipensp changed the title checker: fix alias symbol visibility checking checker: fix private symbol visibility checking Jan 22, 2025
@felipensp felipensp marked this pull request as ready for review January 22, 2025 11:22
@felipensp
Copy link
Member Author

Already submitted a fix for Shy - larpon/shy#20

vlib/v/checker/checker.v Outdated Show resolved Hide resolved
vlib/v/checker/checker.v Outdated Show resolved Hide resolved
@felipensp
Copy link
Member Author

Submitted PR to herolib to fix visibility issue freeflowuniverse/herolib#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Private type should not be public
3 participants